projects
/
emacs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a8a93b1
)
Remove an unneeded assertion
author
Philipp Stephani
<phst@google.com>
Sun, 4 Jun 2017 17:26:24 +0000
(19:26 +0200)
committer
Philipp Stephani
<phst@google.com>
Sun, 4 Jun 2017 17:50:51 +0000
(19:50 +0200)
* src/emacs-module.c (module_copy_string_contents): Remove unneeded
assertion. If this assertion triggers, we raise an error anyway.
src/emacs-module.c
patch
|
blob
|
history
diff --git
a/src/emacs-module.c
b/src/emacs-module.c
index f7facb955bfb8617845d034aa723b6fce1fefef9..187a620cc0879c3544255c43d5a3a1f26f4526f6 100644
(file)
--- a/
src/emacs-module.c
+++ b/
src/emacs-module.c
@@
-504,8
+504,6
@@
module_copy_string_contents (emacs_env *env, emacs_value value, char *buffer,
return true;
}
- eassert (*length >= 0);
-
if (*length < required_buf_size)
{
*length = required_buf_size;